package com.firebird.app.kotlin.stock.ui.allocation_plan.model

import com.firebird.app.kotlin.stock.data.MoneyRuleBean
import com.firebird.app.kotlin.stock.data.MultipleRuleBean
import com.firebird.app.kotlin.stock.net.RetrofitClient
import com.firebird.app.kotlin.stock.ui.allocation_plan.contract.AllocationPlanContract
import retrofit2.Call


class AllocationPlanModel : AllocationPlanContract.Model {
    override fun getMoneyRuleData(bpType: Int): Call<MoneyRuleBean?>? {
        return RetrofitClient.instance?.api?.getMoneyRuleData(bpType)
    }

    override fun getMultipleRuleData(bpType: Int): Call<MultipleRuleBean?>? {
        return RetrofitClient.instance?.api?.getMultipleRuleData(bpType)
    }
}